﻿@import "../../_theme";

#page-wraper {
    &.no-order {
        height: 100%;
        text-align: center;

        & > h3 {
            position: absolute;
            height: 96px;
            top: 50%;
            margin-top: 0;
            width: 100%;
        }

        &:after {
            content: '';
            position: absolute;
            height: 96px;
            width: 96px;
            top: 50%;
            left: 50%;
            margin-top: -96px;
            margin-left: -48px;
            display: inline-block;
            background-image: url('/UI/imgs/icon-tags.png');
            background-repeat: no-repeat;
            background-position: -230px -115px;
        }
    }
}

#page-head {
    width: 100%;
}

#page-title {
    color: $ClrTheme;
    margin: 10px 0;

    & > i {
        font-size: 5rem;
        float: left;
        margin-right: 10px;
    }

    & > h6 {
        color: lighten($ClrThemeTxt,40);
    }
}

#page-body{
    margin-bottom:2rem;
}

.field-title {
    font-size: 80%;
    color: lighten($ClrThemeTxt,30);
}

#ord-head {
    background-color: $ClrMsg;
    border: 1px solid $ClrMsgBorder;
    padding: 5px;
}

.Tabs {
    font-weight: bold;
    color: lighten($ClrThemeTxt,20);

    & > span {
        padding: 1rem 2rem;
        display: inline-block;

        &.active {
            //background-color: $ClrThemeHotTxt;
            color: $ClrTheme;
            //box-shadow: 0 0 5px 0 $ClrTheme;
        }
    }

    & > .tab-hover {
        border: none;
        height: 100%;
        background-color: white;
        top: 0;
        z-index: -1;
        box-shadow: 0px 5px 0px 0px white, 0 0 3px 0 $ClrTheme;
    }
}

.edit-panel {
    min-height: 50rem;
    height: auto;
    padding-bottom:1rem;
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        box-shadow: 0 0 3px 0 $ClrTheme;
        z-index: -2;
        background-color: white;
    }
}

#edit-tools {
    position: absolute;
    right: 0;
    top: -7px;
}

#edit-items {
    margin-top: 1rem;
}

.product {
    width: 10%;
}

.item-info {
    width: 40%;
}
.item-info-content {
    width: 40%;
    text-align: left;
    padding-left: 1rem;
}

.field-item{
    padding-left:3rem;
    &>.field-title{
        position:absolute;
        left:0;
    }
}

.count {
    width: 12%;
}

.process{
    width:12%;
}

.process-content {
    width: 12%;
    text-align:left;
    padding-left:1rem;

    &>.pc-dlv{
        color:$ClrTheme;
    }
    &>.pc-rcv{
        color:$ClrOk;
    }
    &>.pc-stk{
        color:$ClrFocus;
    }
}

.dlv-count {
    width: 12%;
}

.dlv-memo {

}

#dlv-remark{
    width:100%;
    min-height:10rem;
    max-height:20rem;
    margin-top:.5rem;
    overflow-y:auto;
    overflow-x:no-display;
}

#btn-doDlv{
    float:right;
    padding:0 2rem;
    margin-top:10px;
}

#dlv-history{

}

.dlv-bill {
    display: block;
    transition: all ease-out .5s;
    cursor: pointer;
    box-shadow: 0 0 3px 0 black;
    padding-top: 1rem;
    text-align: center;
    background-color:white;
    width:25rem;
    height:12rem;
    float:left;
    margin:15px 15px 0 0;
    & > .wb-banner {
        padding: .5rem;
        font-size: 1.8rem;
        font-weight: bold;

        &.Completed {
            background-color: lighten($ClrOk,20);
        }
    }

    & > .wb-dlvinfo {
        border-bottom: 2px solid #c8c8c8;
        text-align: center;
        padding: .5rem 0;
        overflow: hidden;
    }

    & > .wb-exinfo {
        padding: .5rem 0;
        overflow: hidden;

        & > .unrcved {
            color: lighten($ClrThemeTxt,20);
        }
    }

    &:hover {
        box-shadow: 0 2px 10px 0 black;
        transform: translateY(-5px);
    }
}

.partialrcv {
    background-color: $ClrImportant;
    padding: 3px 5px;
    color: $ClrThemeHotTxt;
    border-radius: 5px;
    font-size: 1rem;
}
